package com.groupsix.controller;

import com.groupsix.service.SysCarService;
import com.groupsix.vo.XcCarInfoVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class SysCarController {
    @Autowired
    private SysCarService sysCarService;
    @RequestMapping(value = "/getCars")
    public XcCarInfoVo getXcinfo(int getid,int backid){
        XcCarInfoVo xcCarInfo = sysCarService.findXcCarInfo(getid, backid);
        return xcCarInfo;
    }
}
